package com.vshining.cryptoki.jna.pkcs11t;

import com.sun.jna.NativeLong;
import com.sun.jna.Pointer;
import com.sun.jna.Structure;

import java.util.Arrays;
import java.util.List;

/**
 * @author Shining Wang <shiningwang@vshining.com>
 */
@SuppressWarnings("unused")
public class CK_SSL3_KEY_MAT_OUT extends Structure {
    NativeLong hClientMacSecret;
    NativeLong hServerMacSecret;
    NativeLong hClientKey;
    NativeLong hServerKey;
    Pointer pIVClient;
    Pointer pIVServer;

    @Override
    protected List getFieldOrder() {
        return Arrays.asList(
                "hClientMacSecret",
                "hServerMacSecret",
                "hClientKey",
                "hServerKey",
                "pIVClient",
                "pIVServer"
        );
    }
}
